@if($model->is_lock != 1)
    @if($model->status == 2)
        <button class='btn btn-xs btn-warning grid-check-revoke' data-id="{{ $model->id }}">撤回</button>
    @else
        <button class="btn btn-xs btn-success apply-modal" data-id="{{ $model->id }}">申请</button>
    @endif
@else
    <button class='btn btn-xs btn-danger' disabled>已锁定</button>
@endif
<div class="modal fade" id="tempModal" tabindex="-1">
    <div class="modal-dialog" style="width: 50%;">
        <div class="modal-content">
            <!-- 内容会加载到这里 -->
        </div><!-- /.modal-content -->
    </div><!-- /.modal-dialog -->
</div><!-- /.modal -->
